﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="ClinicManagement._Default" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div id="block-itunes">
        <div id="blockA">
            <!-- Block A for large image-->
            <a href="#largeimage">
                <!-- large Image is added here -->
            </a>
        </div>
        <div id="itune_images">
            <div id="blockB">
                <!-- Block B for small Images-->
                <a href="#image1">
                    <img src="banners/awork_small.png" alt="" class="min" />
                </a><a href="#image2">
                    <img src="banners/ragdoll_small.png" alt="" class="min" />
                </a><a href="#image3">
                    <img src="banners/great_small.png" alt="" class="min" />
                </a><a href="#image4">
                    <img src="banners/camera_small.png" alt="" class="min" />
                </a>
            </div>
        </div>
        <button type="button" id="bi-button">
        </button>
    </div>
    <!-- app draw-->
    <div id="appdraw">
        <div id="main">
            <div id="desktopContentBlockId" class="platform-content-block display-block">
                <div id="content">
                    <div class="padder">
                        <div class="center-stack">
                            <div metrics-loc="Swoosh_" rows="1" class="home-normal-box swoosh lockup-container application large screenshots">
                                <div class="title">
                                    <h2>THUỐC MỚI</h2> <%--Select top 24 product by latestUploaded--%>
                                    <div id="seeall">
                                        <a href="#">Xem tất cả</a></div>
                                </div>
                                <div class="toggle">
                                    <div metrics-loc="iPhone" num-items="12" class="content iphone-screen-shots items5">
                                        <div style="width: 1725px;" class="image-wrapper">
                                            <div class="lockup">
                                                <table width="100%" border="0" cellpadding="2" cellspacing="2" id="tbl-home-apps">
                                                    <tr>
                                                        <td width="100px">
                                                            <div <%--class="img"--%> />
                                                                <%--<a href="#">--%>
                                                                 <asp:Repeater ID="Repeater1" runat="server" DataSourceID="ObjectDataRepeater">
                <HeaderTemplate>
                                        
                </HeaderTemplate>
                <ItemTemplate>
                    <li style="list-style:none">
                      <div style="text-align:center;">
                        
                         <a href="Detail.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>">
                            <img  width="75px" height="75px" src="images/<%# DataBinder.Eval(Container.DataItem,"itemImage") %>" alt="" title="<%# DataBinder.Eval(Container.DataItem,"ViewCount") %>" /></a>
                        <br/>
                        <h3>
                        <a href="#"><%# DataBinder.Eval(Container.DataItem, "itemName")%>
                        </h3>                           
                                
                           </a>                      
                            
                             <br/>
                           <%# DataBinder.Eval(Container.DataItem, "uploadDate")%>
                       
                        <div align="center" style="width: 155px; height: 19px;">
                            <%--<a href="home.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "Bid") %>">AddCart                         
                            
                            </a>--%>
                        </div>    
                    </div>
                    <%="</li>" %>
                </ItemTemplate>
                               
                <FooterTemplate>
                   </ul>
                </FooterTemplate>
                
            </asp:Repeater>                                                                                                 
                                                                <asp:ObjectDataSource ID="ObjectDataRepeater" runat="server" 
                                                                    SelectMethod="getTop24ListItemsMedicine" 
                                                                    TypeName="BusinessLogic.BusinessFacade" 
                                                                    OldValuesParameterFormatString="original_{0}">
                                                                </asp:ObjectDataSource>
                                                                </a></div>
                                                            
                                                        </td>
                                                        
                                                        
                                                    </tr>                                                    
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- END TABLE-->
                            <div id="ad-banner">
                                <ul>
                                    <li><a href="#">
                                        <img src="images/b1.png" alt="" width="137" height="99" /></a></li>
                                    <li><a href="#">
                                        <img src="images/b2.png" alt="" width="137" height="99" /></a></li>
                                    <li><a href="#">
                                        <img src="images/b3.png" alt="" width="137" height="99" /></a></li>
                                    <li><a href="#">
                                        <img src="images/b4.png" alt="" width="137" height="99" /></a></li>
                                    <li><a href="#">
                                        <img src="images/b5.png" alt="" width="137" height="99" /></a></li>
                                    <li><a href="#">
                                        <img src="images/b1.png" alt="" width="137" height="99" /></a></li>
                                </ul>
                                <div id="clear">
                                </div>
                            </div>
                            <!-- end AD BANNER -->
                            <div metrics-loc="Swoosh_" rows="1" class="home-normal-box swoosh lockup-container application large screenshots">
                                <div class="title">
                                    <h2>THIẾT BỊ MÁY Y TẾ</h2> <%--Select top 24 featured products--%>
                                    <div id="seeall">
                                        <a href="#">Xem tất cả</a></div>
                                </div>
                                <div class="toggle">
                                    <div metrics-loc="iPhone" num-items="12" class="content iphone-screen-shots items5">
                                        <div style="width: 1725px;" class="image-wrapper">
                                            <div class="lockup">
                                                <table width="100%" border="0" cellpadding="2" cellspacing="2" id="tbl-home-apps">
                                                    <tr>
                                                        <td width="100px">
                                                            <div <%--class="img"--%>>

                                                               
                                                                </div>
                                                            <asp:Repeater ID="Repeater2" runat="server" DataSourceID="ObjectData2">

                                                                <ItemTemplate>
                    <li style="list-style:none">
                      <div style="text-align:center;">
                        
                            <%--<a href="Detail.aspx?bid=<%# DataBinder.Eval(Container.DataItem,"Bid") %>">--%>
                            <img  width="75px" height="75px" src="images/<%# DataBinder.Eval(Container.DataItem,"itemImage") %>" alt="" title="<%# DataBinder.Eval(Container.DataItem,"ViewCount") %>" /></a>
                        <br/>
                        <h3>
                        <a href="#"><%# DataBinder.Eval(Container.DataItem, "itemName")%>
                        </h3>                           
                                
                           </a>                      
                            
                             <br/>
                           <%# DataBinder.Eval(Container.DataItem, "uploadDate")%>
                       
                        <div align="center" style="width: 155px; height: 19px;">
                            <%--<a href="home.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "Bid") %>">AddCart                         
                            
                            </a>--%>
                        </div>    
                    </div>
                    <%="</li>" %>
                </ItemTemplate>
                                                                
                                                            </asp:Repeater>

                                                               
                                                                </td>
                                                        
                                                    </tr>
                                                    
                                                </table>
                                            </div>
                                                                <asp:ObjectDataSource ID="ObjectData2" runat="server" 
                                                                    SelectMethod="getTop24ListItemsMachine" 
                                                                    TypeName="BusinessLogic.BusinessFacade" 
                                                                    OldValuesParameterFormatString="original_{0}">
                                                                </asp:ObjectDataSource>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
